.diary-overview {
    font-family: 'Roboto', sans-serif;
    backdrop-filter: blur(10px); /* 磨砂效果 */
    padding: 20px;
    border-radius: 10px;
    background-image: url('../云1.jpg');
    background-size: cover; /* 确保背景图片铺满整个元素区域 */
    background-position: center; /* 背景图片居中 */
    min-height: 100vh; /* 确保最小高度为视口的高度 */
  }
  


.diary-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  grid-gap: 20px;
}


.diary-item {
  background-color:white;
  border-radius: 12px; /* 增强线条感 */
}



.diary-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.15);
}

.diary-imgs {
  border-radius: 8px 8px 0 0;
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.diary-item-content {
  padding: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.diary-item-content h3 {
  font-weight: 700;
  color: #4A4A4A;
  margin-top: 12px;
  text-align: center;
}

.btn {
  background-color: #30e3ca;
  padding: 10px 20px;
  border-radius: 5px;
  color: white;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.2s;
  margin-top: 12px;
}

.btn:hover {
  background-color: #29c4a9;
}

.empty-display {
  text-align: center;
  padding: 50px 20px;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-size: 1.2rem;
  color: #666;
  backdrop-filter: blur(8px); /* 内容为空时的磨砂效果 */
  border: 1px solid rgba(0, 0, 0, 0.1); /* 添加轻微边框增强层次感*/
}